//
//  ZZLightViewGroupModel.m
//  ZZBlue
//
//  Created by stonesMonkey on 2017/9/23.
//  Copyright © 2017年 stonesMonkey. All rights reserved.
//

#import "ZZLightViewGroupModel.h"

@implementation ZZLightViewGroupModel

- (NSMutableArray<ZZLightViewCellModel *> *)models {
    
    if (!_models) {
        
        _models = [NSMutableArray array];
    }
    
    return _models;
}

-(void)encodeWithCoder:(NSCoder *)aCoder
{
    
    [aCoder encodeObject:self.models forKey:@"models"];
}

-(instancetype)initWithCoder:(NSCoder *)aDecoder
{
    if (self = [super init]) {
        
        self.models = [aDecoder decodeObjectForKey:@"models"];
    }
    return self;
}


@end
